package frame;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Image;
import java.awt.Toolkit;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;

public class info extends JDialog{
	private Image im=Toolkit.getDefaultToolkit().getImage("./material/logo/fvw.png");
	public info() {
		setTitle("VW-Edit info");
		setBounds(0, 0, 350, 180);
		setLocationRelativeTo(null);
		setLayout(new BorderLayout());
		setIconImage(im);
		setModal(true);
		JLabel a=new JLabel("<html>VW Edit<br>版本:1.0.0<br>作者:Solitary Wayfarer<br>工作室:V-World Game Studio<br>日期:2021年11月<br>QQ群:782894061</html>");
		a.setBounds(30, -25, 300, 200);
		this.add(a,BorderLayout.CENTER);
		JLabel b=new JLabel(new ImageIcon(im.getScaledInstance(105, 105, Image.SCALE_AREA_AVERAGING)));
		b.setPreferredSize(new Dimension(120, 100));
		this.add(b,BorderLayout.WEST);
		setVisible(true);
	}
}
